package com.ems.service.impl;

import com.ems.entity.TMenu;
import com.ems.entity.TMenuRole;
import com.ems.mapper.TMenuMapper;
import com.ems.mapper.TMenuRoleMapper;
import com.ems.service.TMenuRoleService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author ZZH
 * @since 2022-06-27
 */
@Service
public class TMenuRoleServiceImpl extends ServiceImpl<TMenuRoleMapper, TMenuRole> implements TMenuRoleService {
    @Autowired
    TMenuRoleMapper tMenuRoleMapper;

    //改
    @Override
    public Boolean update(TMenuRole tMenuRole){
        baseMapper.update(tMenuRole);
        return true;
    }
}
